package org.easy.core.dto;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class BizDto {
    private Integer bizType;
    private Long bizId;
    private Long userId;


    public BizDto(BizDto bizDto) {
        this.bizType = bizDto.getBizType();
        this.bizId = bizDto.getBizId();
        this.userId = bizDto.getUserId();
    }


    @Override
    public String toString() {
        //禁止修改
        return bizType + "-" + bizId + "-" + userId;
    }
}
